import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import App from './App.vue';
import 'ant-design-vue/dist/antd.css';
import router from './router';
import {initI18n} from '@/utils/i18n'
const app = createApp(App);
const i18n = initI18n('CN', 'US')
//app.config.globalProperties.utils=utils;
//第三方库需要use一下才能用
app.use(router);
app.use(i18n);
app.use(Antd);
// 路由拦截器
//router.beforeEach()
app.mount('#app')
